<?php
	include '../connect.php';
	include '../functions.inc';
	session_start();

	$ziki_url = $_POST['ziki_url'];
	$skype = $_POST['skype'];
	$linkedin = $_POST['linkedin'];
	$flickr = $_POST['pseudo_flickr'];
	$lien1 = $_POST['url_rss'];
	$lien2 = $_POST['url_2'];
	$lien3 = $_POST['url_3'];

	$sql2 = ("UPDATE customer 
	SET ziki_url='".mysql_real_escape_string($ziki_url)."', 
		skype='".mysql_real_escape_string($skype)."',
		linkedin='".mysql_real_escape_string($linkedin)."',
		pseudo_flickr='".mysql_real_escape_string($flickr)."' ,
		url_rss='".mysql_real_escape_string($lien1)."',
		url_2='".mysql_real_escape_string($lien2)."',
		url_3='".mysql_real_escape_string($lien3)."' 
	WHERE user_name='".mysql_real_escape_string($_SESSION[logname])."'");
		mysql_query($sql2,$db) or die('impossible de modifier le resume'.mysql_error());
		updateDateUser($_SESSION['logname'],$table_name);



?>